<ul id='context_list' style='border:1px solid #E8A400;min-height:20px;'>
<% @context_elements.each do |context| %>
<% domid = "context_#{context.artifact.id}" %>
<li class='context_item' id='<%= domid %>' style='padding:5px;cursor:-moz-grab;'>
<%if context.artifact.class == FlickrImage%>
<%= image_tag(context.artifact.title, :size => "32x32")%>
<%else%>
<%= context.artifact.title %>
<%end%>
   <%= link_to_remote '-', :url=>context_path(context), :method => :delete, :before => 'selected = []', :complete => evaluate_remote_response, :update => 'context'%></li>
<%= draggable_element(domid, :ghosting=>true, :revert=>true) %>
<% end %>
</ul>